//#include "global.h"
#include "infoblock.h"

//-----------------------------------------------------------------------------
// Global Variables
//-----------------------------------------------------------------------------
//const U8 hhh __attribute__((at(0x0800FFF0))) =0xff;
/*****************************************
Target App FW InfoBlock Format
Byte offset (from last byte) - Field

0	Signature Byte Low (0) (sig bytes are added by the bootloader after successful programming)
-1	Signature Byte (1)
-2	Signature Byte (2)
-3	Signature Byte High (3)
-4	InfoBlock Length = 7 (for CAN BL; count includes this length byte)
-5	MCU Code
-6	BL Type
-7	Flash Page Size Code
-8	Application FW Version Low (0)
-9	Application FW Version High (1)
-10	BL-specific byte (0) - SMBus Device Addr - Not used for read by FW (only present for hex file image)
*****************************************/
// TGT_APP_INFOBLOCK_ADDRESS
// Reverse byte order for Keil:
const unsigned char TGT_App_InfoBlock[TGT_SIZE] __attribute__((at(TGT_APP_INFOBLOCK_ADDRESS))) =
{
    TGT_DEVICE_CODE,
    BL_SPECIFIC_BYTE,
    APP_FW_VERSION_HIGH,
    APP_FW_VERSION_LOW,
    TGT_FLASH_PAGE_SIZE_CODE,
    TGT_BL_TYPE,
    TGT_MCU_CODE,
    TGT_APP_INFOBLOCK_LENGTH,
    SIG_BYTE3,
    SIG_BYTE2,
    SIG_BYTE1,
    SIG_BYTE0,
};



//-----------------------------------------------------------------------------
// End Of File
//-----------------------------------------------------------------------------
